<template>
    <el-row>
    <el-col :span="12">
        <div class="grid-content bg-purple-dark" style="text-align: left; font-size: 30px">谷粒电商-运营商管理系统</div>
    </el-col>
    <el-col :span="12">
        <div class="grid-content bg-purple-dark" style="text-align: right; font-size: 20px">{{loginName}}</div>
    </el-col>
    </el-row>
</template>

<script>
export default {
    data(){
        return{
            loginName:'匿名'
        }
    },
    methods:{
        
    },
    mounted(){
        let userName =sessionStorage.getItem("username");
        if(userName){
            this.loginName = userName;
        }
    }
}
</script>

<style>

</style>

